
#ifndef _BAUDIOEVENT_H_
#define _BAUDIOEVENT_H_

#include <BEvent>
#include <BBuffer>

namespace BWE
{
	class BWEAPI BAudioEvent : public BEvent
	{
	public:
		BAudioEvent(Event type);
		~BAudioEvent();

		void setBuffer(BBuffer* buffer);
		BBuffer* buffer();
		const BBuffer* buffer() const;
	};

	typedef BHolder<BAudioEvent>	BAudioEventHolder;
}

#endif